find the endpoint when given midpoint and other endpoint ex 1

visit shbcf.ru